﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MShop.Core.Domain;

namespace MShop.Web.Models
{
    public class SelectedAreaGroupModel
    {

        public SelectedAreaGroupModel()
        {

        }


        public SelectedAreaGroupModel(IEnumerable<AreaGroup> areas)
        {
            this.Areas = areas;
        }


        public SelectedAreaGroupModel(IEnumerable<AreaGroup> areas,int areaid,AreaGroup areagroup)
        {
            this.Areas = areas;
            this.AreaGroup = areagroup;
            this.SelectedAreaId = areaid;
        }
        public IEnumerable<AreaGroup> Areas { get; set; }

        public AreaGroup AreaGroup { get; set; }

        public int SelectedAreaId { get; set; }
    }
}